﻿using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Garden.p.Controllers
{
    public class HomeController : Controller
    {
        private readonly CompositionHost _container = Garden.d.Hoster.GetContainer();

        public ViewResult Index()
        {
            return View();
        }

        protected override void Dispose(bool disposing)
        {
            _container.Dispose();
            base.Dispose(disposing);
        }
    }
}
